#!/bin/sh
dt=$1

# raw
hive --hivevar RUNDATE=${dt}  -f src/raw_hism_movielens_movies.q
hive --hivevar RUNDATE=${dt}  -f src/raw_hism_movielens_links.q

# ods
hive --hivevar RUNDATE=${dt} -f src/ods_hism_movielens_links.q


# dwd
hive --hivevar RUNDATE=${dt} -f src/dwd_hism_movielens_links.q

# dws
hive --hivevar RUNDATE=${dt} -f src/dws_hism_movielens_links.q

# app
hive --hivevar RUNDATE=${dt}  -f src/app_hism_movielens_movie_report.q
